home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Logical / IsInfinite.HLSL.Brick.xml < prev    next >
Extensible Markup Language  |  2008-06-10  |  1KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{F96C6A57-EDCD-4EE9-AC62-8E03098BD1D6}" Name="RtIsInfinite" GUIName="IsInfinite" Description="Return nonzero if any component of the input is infinite [isinf]">
  3.     <ME_BRICK_INPUTPARAM GUID="{E16C853D-39C3-496A-874A-1338C736F8D4}" Name="Input" Type="RtNumeric"/>
  4.     <ME_BRICK_OUTPUTPARAM GUID="{AEB00949-1F43-4DE9-B992-573065B0313F}" Name="Result" Type="RtFloat"/>
  5.     <ME_BRICK_CODE><![CDATA[
  6.         void RtIsInfinite(in RtFloat Input, out RtFloat Result) {
  7.             Result = rtx_IsInfinite(Input);
  8.         }
  9.  
  10.         void RtIsInfinite(in RtFloat3 Input, out RtFloat Result) {
  11.             Result = rtx_IsInfinite(Input);
  12.         }
  13.  
  14.         void RtIsInfinite(in RtFloat4 Input, out RtFloat Result) {
  15.             Result = rtx_IsInfinite(Input);
  16.         }
  17.  
  18.         void RtIsInfinite(in RtFloat3x3 Input, out RtFloat Result) {
  19.             Result = rtx_IsInfinite(Input);
  20.         }
  21.  
  22.         void RtIsInfinite(in RtFloat4x4 Input, out RtFloat Result) {
  23.             Result = rtx_IsInfinite(Input);
  24.         }
  25.     ]]></ME_BRICK_CODE>
  26. </ME_BRICK>
  27.